TERMINFO

Section: File Formats (5)
Updated:
Index Return to Main Contents
 

NAME

terminfo - terminal capability data base  

SYNOPSIS

@TERMINFO@/*/*  

DESCRIPTION

Terminfo is a data base describing terminals, used by screen-oriented programs such as nvi(1), rogue(1) and libraries such as curses(3X). Terminfo describes terminals by giving a set of capabilities which they have, by specifying how to perform screen operations, and by specifying padding requirements and initialization sequences.

Entries in terminfo consist of a sequence of `,' separated fields (embedded commas may be escaped with a backslash or notated as \054). White space after the `,' separator is ignored. The first entry for each terminal gives the names which are known for the terminal, separated by `|' characters. The first name given is the most common abbreviation for the terminal, the last name given should be a long name fully identifying the terminal, and all others are understood as synonyms for the terminal name. All names but the last should be in lower case and contain no blanks; the last name may well contain upper case and blanks for readability.

Terminal names (except for the last, verbose entry) should be chosen using the following conventions. The particular piece of hardware making up the terminal should have a root name, thus ``hp2621''. This name should not contain hyphens. Modes that the hardware can be in, or user preferences, should be indicated by appending a hyphen and a mode suffix. Thus, a vt100 in 132 column mode would be vt100-w. The following suffixes should be used where possible:

SuffixMeaningExample
-nnNumber of lines on the screenaaa-60
-npNumber of pages of memoryc100-4p
-amWith automargins (usually the default)vt100-am
-mMono mode; suppress color ansi-m
-mcMagic cookie; spaces when highlightingwy30-mc
-naNo arrow keys (leave them in local)c100-na
-namWithout automatic margins vt100-nam
-nlNo status line att4415-nl
-nsNo status line hp2626-ns
-rvReverse video c100-rv
-sEnable status line vt100-s
-vbUse visible bell instead of beepwy370-vb
-wWide mode (> 80 columns, usually 132)vt100-w

For more on terminal naming conventions, see the term(7) manual page.  

Capabilities


 

Index

NAME
SYNOPSIS
DESCRIPTION
Capabilities

This document was created by man2html, using the manual pages.
Time: 22:38:18 GMT, August 13, 2022